package com.ice.base.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
public class SysRoleModel extends BaseModel {

    @ApiModelProperty(value ="编码")
    private String role_code;

    @ApiModelProperty(value ="名称")
    private String role_name;

    @ApiModelProperty(value ="类型")
    private Integer role_type;

    @ApiModelProperty(value ="描述")
    private String role_des;

    @ApiModelProperty(value ="绑定菜单的id")
    private String role_band_menu_id;

    /**
     * 包含的权限
     */
    private List<SysPermissionModel> permissions;


}
